# Compound Components Validation

<EpicVideo url="https://www.epicreact.dev/workshops/advanced-react-patterns/compound-components-validation/solution" />

👨‍💼 Runtime validation isn't the best (it would be better if we could enforce
this statically via TypeScript), but unfortunately it's the best we can do with
the composition model offered by React. That said, it's unlikely people will
mess this up now that we have this runtime validation in place.
